# -*- coding: utf-8 -*-
"""
author:码同学 极光
date:2023/12/17
desc: 
sample: 
"""
from rest_framework.routers import SimpleRouter

from .views import EnvInfoModelViewSet, ProjectInfoViewSet, ModuleInfoViewSet, TestApiInfoViewSet, TestApiResultViewSet, \
    TestCaseViewSet

router = SimpleRouter()
router.register("api/envInfo", EnvInfoModelViewSet)
router.register("api/projectInfo", ProjectInfoViewSet)
router.register("api/moduleInfo", ModuleInfoViewSet)
router.register("api/testinfo", TestApiInfoViewSet)
router.register("api/testResult", TestApiResultViewSet)
router.register("api/testcase", TestCaseViewSet)

urlpatterns = [
]
urlpatterns += router.urls